import api from './index'
import request from '@/utils/request'

export function getContacts() {
  return request.get(api.GetContacts)
}

export function getContactInfo(contactId) {
  return request.get(api.ContactInfo, { params: { id: contactId }})
}
